package com.mrx.commons.annotations;

import com.mrx.commons.mail.JMailSenderConfig;
import com.mrx.commons.mail.MailHelper;
import com.mrx.commons.mail.XEnvPropertySourceFactory;
import com.mrx.commons.mail.model.XMailProperties;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Mr.X
 * @since 2024-01-12 10:03
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({MailHelper.class, JMailSenderConfig.class, XEnvPropertySourceFactory.class, XMailProperties.class})
public @interface EnableMailHelper {
}
